package com.dries.portal.module.circle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dries.common.api.CommonResult;
import com.dries.portal.module.circle.entity.Circle;
import com.dries.portal.module.circle.from.AddCircleFrom;
import com.dries.portal.module.circle.vo.CircleDetailVo;

import java.util.List;

/**
 * 圈子动态
 *
 * @author dries
 * @email samphsanie@gmail.com
 * @date 2020-08-26 14:27:42
 */
public interface ICircleService extends IService<Circle> {

    CircleDetailVo getCircleDetailById(Integer id);

    CommonResult saveAddCircleFrom(AddCircleFrom circle);

    /**
     * 用户访问+1
     */
    Integer subPageView(Integer id, Integer pageView);

    List<CircleDetailVo> getCircleList(Integer pageNum, Integer pageSize, String userId, Boolean type);
}

